home *** CD-ROM | disk | FTP | other *** search
/ Aminet 49 / Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso / Aminet / dev / misc / FlexCat_Src.lha / flexcat_cat.h.unix < prev    next >
Text File  |  1999-11-28  |  6KB  |  142 lines

  1. /****************************************************************
  2.    This file was created automatically by `FlexCat 2.4'
  3.    from "Catalogs_Src/FlexCat.cd".
  4.  
  5.    Do NOT edit by hand!
  6. ****************************************************************/
  7.  
  8. /****************************************************************
  9.  
  10.    This file is a quick-hack-solution for all of you wanting
  11.    to compile FlexCat on non-amiga platform. It creates
  12.    necessary string tables (hardcoded ATM) and functions to
  13.    make code work under any operating system.
  14.  
  15.    Carlos
  16.  
  17. ****************************************************************/
  18.  
  19. #ifndef FlexCat_CAT_H
  20. #define FlexCat_CAT_H
  21.  
  22. void OpenFlexCatCatalog( void );
  23. void CloseFlexCatCatalog( void );
  24.  
  25. char * FlexCat_Strings[47] = {
  26.     (char *)"Out of memory!",
  27.     (char *)"%s, Line %d; warning: ",
  28.     (char *)"Expected hex character (one of [0-9a-fA-F]).",
  29.     (char *)"Expected octal character (one of [0-7]).",
  30.     (char *)"Cannot open catalog description %s.",
  31.     (char *)"LengthBytes > %d (sizeof long) not possible.",
  32.     (char *)"Unknown catalog description command",
  33.     (char *)"Unexpected blanks.",
  34.     (char *)"Missing identifier.",
  35.     (char *)"Missing '('.",
  36.     (char *)"ID number used twice.",
  37.     (char *)"Identifier redeclared.",
  38.     (char *)"Expected MinLen (character '/').",
  39.     (char *)"Expected MaxLen (character '/').",
  40.     (char *)"Expected ')'.",
  41.     (char *)"Extra characters at the end of the line.",
  42.     (char *)"Unexpected end of file (missing catalog string).",
  43.     (char *)"String too short.",
  44.     (char *)"String too long.",
  45.     (char *)"Cannot open catalog translation file %s.",
  46.     (char *)"Missing catalog translation command. (Expected second '#'.)",
  47.     (char *)"Unknown catalog translation command.",
  48.     (char *)"Missing catalog translation version; use either ##version\n"\
  49.     "or ##rcsid and ##name.",
  50.     (char *)"Missing catalog translation language.",
  51.     (char *)"Cannot open catalog file %s.",
  52.     (char *)"Cannot create catalog translation file %s.",
  53.     (char *)"%s missing in catalog description.",
  54.     (char *)"Cannot open source description file %s.",
  55.     (char *)"Cannot open source file %s.",
  56.     (char *)"Unknown string type.",
  57.     (char *)"Unexpected end of line. (Missing ')')",
  58.     (char *)"  CDFILE        Catalog description file to scan\n"\
  59.     "  CTFILE        Catalog translation file to scan\n"\
  60.     "  CATALOG       Catalog file to create\n"\
  61.     "  NEWCTFILE     Catalog translation file to create\n"\
  62.     "  SOURCES       Sources to create; must be something like sfile=sdfile,\n"\
  63.     "                where sfile is a sourcefile and sdfile is a source\n"\
  64.     "                description file\n"\
  65.     "  WARNCTGAPS    Warn symbols missing in CT file\n"\
  66.     "  NOOPTIM       Do not skip unchanged strings (equal in both #?.cd and #?.ct)\n"\
  67.     "  FILL          Use descriptor texts if translation are missing\n"\
  68.     "  FLUSH         Flush memory when catalog is written\n"\
  69.     "  NOBEEP        Suppress DisplayBeep()'s on error and warnings\n"\
  70.     "  QUIET         Suppress warning messages",
  71.     (char *)"Creating a catalog needs a catalog translation file as argument.\n",
  72.     (char *)"Binary characters in stringtype None.",
  73.     (char *)"ID %s missing in CT file.",
  74.     (char *)"Catalog language declared twice.",
  75.     (char *)"Catalog version declared twice.",
  76.     (char *)"Incorrect rcs ID (must be similar to\n"\
  77.     "'$Date: 1999/11/28 03:36:40 $ $Revision: 1.2 $')",
  78.     (char *)"Usage",
  79.     (char *)"Error processing FlexCat.prefs variable, falling back to defaults.\n"\
  80.     "Preferences template: ",
  81.     (char *)"  NOLANGTOLOWER Prevents #language name from being lowercased\n"\
  82.     "  NOBUFFEREDIO  Disables IO buffers\n"\
  83.     "  MODIFIED      Creates the catalog only when #?.c(d|t) files were changed",
  84.     (char *)"File %s is up to date",
  85.     (char *)"Cannot get the datestamp of %s",
  86.     (char *)"  COPYMSGNEW    Turns on copying ***NEW*** markers while updating #?.ct file\n"\
  87.     "  OLDMSGNEW     If old #?.ct file is using other marker, specify it here",
  88.     (char *)"Original string has a trailing ellipsis (...)",
  89.     (char *)"Original string has a trailing spaces",
  90.     (char *)"  NOSPACE       Removes the space being usually put between ';' and the comment"
  91. };
  92.  
  93. #define msgMemoryError FlexCat_Strings[0]
  94. #define msgWarning FlexCat_Strings[1]
  95. #define msgExpectedHex FlexCat_Strings[2]
  96. #define msgExpectedOctal FlexCat_Strings[3]
  97. #define msgNoCatalogDescription FlexCat_Strings[4]
  98. #define msgNoLengthBytes FlexCat_Strings[5]
  99. #define msgUnknownCDCommand FlexCat_Strings[6]
  100. #define msgUnexpectedBlanks FlexCat_Strings[7]
  101. #define msgNoIdentifier FlexCat_Strings[8]
  102. #define msgNoLeadingBracket FlexCat_Strings[9]
  103. #define msgDoubleID FlexCat_Strings[10]
  104. #define msgDoubleIdentifier FlexCat_Strings[11]
  105. #define msgNoMinLen FlexCat_Strings[12]
  106. #define msgNoMaxLen FlexCat_Strings[13]
  107. #define msgNoTrailingBracket FlexCat_Strings[14]
  108. #define msgExtraCharacters FlexCat_Strings[15]
  109. #define msgNoString FlexCat_Strings[16]
  110. #define msgShortString FlexCat_Strings[17]
  111. #define msgLongString FlexCat_Strings[18]
  112. #define msgNoCatalogTranslation FlexCat_Strings[19]
  113. #define msgNoCTCommand FlexCat_Strings[20]
  114. #define msgUnknownCTCommand FlexCat_Strings[21]
  115. #define msgNoCTVersion FlexCat_Strings[22]
  116. #define msgNoCTLanguage FlexCat_Strings[23]
  117. #define msgNoCatalog FlexCat_Strings[24]
  118. #define msgNoNewCTFile FlexCat_Strings[25]
  119. #define msgUnknownIdentifier FlexCat_Strings[26]
  120. #define msgNoSourceDescription FlexCat_Strings[27]
  121. #define msgNoSource FlexCat_Strings[28]
  122. #define msgUnknownStringType FlexCat_Strings[29]
  123. #define msgNoTerminateBracket FlexCat_Strings[30]
  124. #define msgUsage FlexCat_Strings[31]
  125. #define msgNoCTArgument FlexCat_Strings[32]
  126. #define msgNoBinChars FlexCat_Strings[33]
  127. #define msgCTGap FlexCat_Strings[34]
  128. #define msgDoubleCTLanguage FlexCat_Strings[35]
  129. #define msgDoubleCTVersion FlexCat_Strings[36]
  130. #define msgWrongRcsId FlexCat_Strings[37]
  131. #define msgUsageHead FlexCat_Strings[38]
  132. #define msgPrefsError FlexCat_Strings[39]
  133. #define msgUsage_2 FlexCat_Strings[40]
  134. #define msgUpToDate FlexCat_Strings[41]
  135. #define msgCantCheckDate FlexCat_Strings[42]
  136. #define msgUsage_3 FlexCat_Strings[43]
  137. #define msgTrailingEllipsis FlexCat_Strings[44]
  138. #define msgTrailingSpaces FlexCat_Strings[45]
  139. #define msgUsage_4 FlexCat_Strings[46]
  140.  
  141. #endif
  142.